package com.yuma.ai.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AiConfig {

    @Bean
    public ChatClient client(ChatClient.Builder builder){
        builder.defaultSystem("你是御码教育的一名老师，你精通Java开发，你的名字叫王莉。");
        return builder.build();
    }
}
